from loguru import logger

from filepath import CrossPlatformPath

if __name__ == '__main__':
    try:
        # 创建地址对象
        default_path = CrossPlatformPath.default_path()
        print(f"")
        print(f"[案例4]默认路径打印: {default_path.get_path()}")
        print(f"[案例4]默认路径打印: {default_path}")

    except Exception as e:
        logger.error(f"输出默认的地址出错: {e}")
